package com.bjwl.display.service.safty.impl;

import com.bjwl.display.mapper.safty.ModuleMapper;
import com.bjwl.display.mapper.safty.RoleMapper;
import com.bjwl.display.model.Module;
import com.bjwl.display.service.safty.ModuleService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public class ModuleServiceImpl implements ModuleService {
    @Autowired
    private RoleMapper roleMapper;
    @Autowired
    private ModuleMapper moduleMapper;
    @Override
    public List<Module> queryModuleByRoId(Integer ro_id) {
        //通过ro_id获取m_id
        List<Integer> list = roleMapper.queryMoIdByRoId(ro_id);
        //通过m_id获取模块

        return null;
    }
}
